package com.weseal.exception;

/**
 * @author weixiaoqing
 * @description
 * @create 2017/9/6
 * @company 上海富捷信息技术有限公司
 */
public class BaseException extends RuntimeException {


	private String code;
	private String message;

	public BaseException(String code, String message) {
		super(message);
		this.code = code;
		this.message = message;
	}


	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	@Override
	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}
}
